package Network;

import BlindCounters.DoubleBlindCounter;
import DataStructures.PokerTable;

public class EntryPoint {

	public static void main(String[] args) {
		// Create the blind timer
		int initialBigblindSize = 2;
		int blindIncreaseTime = 10*60;
		DoubleBlindCounter blindTimer = new DoubleBlindCounter(initialBigblindSize, blindIncreaseTime);
		
		// Create the table
		int tableSize = 9;
		PokerTable table = new PokerTable(tableSize);
		
		// Create the dealer
		int turnTime = 30;
		int stackSize = 100;
		NetworkHoldemDealer dealer = new NetworkHoldemDealer(table, blindTimer, turnTime, stackSize);
		
		// Launch the server
		int port = 6550;
		Server s = new Server(port, dealer);
		s.start();
	}

}
